/**
 * @Author: WangYongGan
 * @Date: 2021/11/19 0:26
 * @Description:
 */
public class 空白字符串 {
    public static void main(String[] args) {
//        String name = " \ta\\S\n";
//        for (int i = 0; i < name.length(); i++) {
//            char c = name.charAt(i);
//            if (Character.isWhitespace(c))
//                System.out.println(i + "空白:" + c);
//        }
//        String name ="wang";
//        System.out.println(name.substring(0,name.length()));
//        test();
        test2();
    }
    public static final String URL = "http://27.8.4.16:8086/V1/ERP-SLM-0001?code=CWZT0002";
    public static void test2(){
        System.out.println(URL.split(":")[2].split("/")[1]);
        System.out.println(URL.split("/")[3]);
        System.out.println(URL.split("/")[4].split("\\?")[0]);
        System.out.println(URL.contains("aaa"));
    }
    public static void test(){
        String name="C丙类";
        int i = name.charAt(1) - 0;
        System.out.println(i);
    }
}
